/* 消息弹框样式 - 可以直接复制到项目中 */
.message-container {
	position: fixed;
	top: 20px;
	right: 25px;
	z-index: 10000;
	max-width: 400px;
	width: 100%;
	pointer-events: none;
}

.message-box {
	position: relative;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	padding: 18px 25px 18px 20px;
	margin-bottom: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: flex-start;
	transform: translateX(120%);
	transition: transform 0.4s ease, opacity 0.4s ease;
	opacity: 0;
	border-left: 5px solid #3498db;
	pointer-events: auto;
	margin-left: 40px;
}

.message-box.show {
	transform: translateX(0);
	opacity: 1;
}

.message-box.success {
	border-left-color: #2ecc71;
}

.message-box.error {
	border-left-color: #e74c3c;
}

.message-box.warning {
	border-left-color: #f1c40f;
}

.message-box.info {
	border-left-color: #3498db;
}

.message-icon {
	font-size: 24px;
	margin-right: 15px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.success .message-icon {
	background: rgba(46, 204, 113, 0.15);
	color: #2ecc71;
}

.error .message-icon {
	background: rgba(231, 76, 60, 0.15);
	color: #e74c3c;
}

.warning .message-icon {
	background: rgba(241, 196, 15, 0.15);
	color: #f1c40f;
}

.info .message-icon {
	background: rgba(52, 152, 219, 0.15);
	color: #3498db;
}

.message-content {
	flex: 1;
}

.message-title {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 6px;
	color: #333;
}

.message-text {
	color: #555;
	font-size: 0.95rem;
	line-height: 1.5;
}

.close-btn {
	position: absolute;
	top: 12px;
	right: 15px;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #aaa;
	transition: color 0.3s;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	padding: 0;
}

.close-btn:hover {
	color: #777;
	background: rgba(0, 0, 0, 0.05);
}